package com.example.wujinapi.entity;

import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

import java.io.Serializable;

/**
 * (Products)表实体类
 *
 * @author makejava
 * @since 2023-07-10 22:08:36
 */
@Data
@JsonIgnoreProperties(allowSetters = true, value = {"token"})
public class Products extends extendField{
    
    private Integer id;
    //主类型
    private Integer firstid;
    private String maintype;
    //二级类型
    private Integer secondid;
    private String subtype;
    //三级类型
    private Integer thirdid;
    private String classtype;
    //产品编号
    private String productno;
    //产品视频网络地址
    private String productvideourl;
    //产品封面图
    private String productimg;
    //产品图片数组
    private String productdetailsimg;
    //产品名称
    private String productname;
    //产品描述
    private String productdesc;
    
    private Double productprice;
    //折扣价
    private Double productdiscountprice;
    //库存
    private Integer productstore;
    //已售
    private Integer productselled;
    //产品厂家
    private String productfactory;
    //产品参数详情
    private String productparas;
    //产品标签
    private String ptags;
    //产品排序 值越高越靠前
    @JsonIgnore
    private Integer psort;
    //1显示 0不显示
    @JsonIgnore
    private Integer isshow;

    @JsonIgnore
    private Date createtime;

}

